﻿@model Exam.Models.Product
@{
    ViewBag.Title = "Modify";
}

<h2>Modify</h2>

<form action="" method="POST" role="form">
    <legend>修改</legend>

    <div class="form-group">
        <label for="">商品名</label>
        @Html.TextAreaFor(m => m.PTitle, new { @class = "form-control" })
    </div>
    <div class="form-group">
        <label for="">价格</label>
        @Html.TextAreaFor(m => m.Price, new { @class = "form-control" })
    </div>
    <div class="form-group">
        <label for="">详情</label>
        @Html.TextAreaFor(m => m.PDetail, new { @class = "form-control" })
    </div>
    <div class="form-group">
        <label for="">商品类型</label>
        @Html.TextAreaFor(m => m.Classid, new { @class = "form-control" })
    </div>
    @Html.HiddenFor(m =>m.PId)
    <button type="submit" class="btn btn-primary">提交</button>
</form>
